﻿<Page
    x:Class="Flashlight.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Flashlight"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:ads="using:Microsoft.Advertising.WinRT.UI"
    mc:Ignorable="d">

    <Grid Name="MainGrid" Background="Black">
        <ads:AdControl Grid.Column="2" Width="728" Height="90" VerticalAlignment="Top" ApplicationId="1ebca937-6e0c-4ddd-a43b-0acb89573d7c" AdUnitId="110484"/>
    </Grid>

    <Page.BottomAppBar>
        <AppBar IsOpen="True">
            <Grid Background="#FF1280CD">
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                    <ToggleSwitch x:Name="powerToggleSwitch" Toggled="powerToggleSwitch_Toggled" IsOn="True" OnContent="" OffContent=""/>
                </StackPanel>
            </Grid>
        </AppBar>
    </Page.BottomAppBar>
</Page>
